//布尔值
let bool: boolean;
bool = Boolean(0);
console.log(bool);

bool = Boolean(undefined);
console.log(bool);

//bool = null;
//console.log(bool)

//bool = undefined ERROR
//console.log(bool)

bool = true;
console.log(bool);

//数字类型

const a = 6;
const b = 0xf00d;
const c = 0b1;
console.log(c);

//字符串
let str: string = "a";
str = "b";

//str = 'c';

str = `c${str}`;
console.log(str);

//数组
const arr: number[] = [1,2,3];
console.log(arr);

